<?php
/**
 * 九条米法瞎几把做的皮肤
 * 
 * @package Mimiva Theme 
 * @author KujoMiva
 * @version 1.0
 * @link https://blog.miva.work
 */

if (!defined('__TYPECHO_ROOT_DIR__')) exit;
$this->need('header.php');
?>

<div id="main" class="col-mb-12" role="main">

    <div class="post_wrapper">
        
        <?php while($this->next()): ?>
        <article class="post" itemscope itemtype="http://schema.org/BlogPosting">
            <h2 class="post-title" itemprop="name headline"><a itemprop="url" href="<?php $this->permalink() ?>"><?php $this->title() ?></a></h2>
            <ul class="post-meta">
                <li><?php _e('时间: '); ?><time datetime="<?php $this->date('c'); ?>" itemprop="datePublished"><?php $this->date(); ?></time></li>
                <li><?php _e('分类: '); ?><?php $this->category(','); ?></li>
                <li itemprop="interactionCount"><a itemprop="discussionUrl" href="<?php $this->permalink() ?>#comments"><?php $this->commentsNum('评论', '1 条评论', '%d 条评论'); ?></a></li>
            </ul>
            <div class="post-content" itemprop="articleBody"><?php $this->excerpt(80, '...'); ?></div>
        </article>
        <?php endwhile; ?>

        <?php $this->pageNav('&laquo; 前一页', '后一页 &raquo;'); ?>
    </div>

    <?php $this->need('sidebar.php'); ?>
</div><!-- end #main-->

<?php $this->need('footer.php'); ?>

